<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="/includes.jsp"%>

<h1 class="layout">Create Group Access</h1>

<html:errors/>

<html:form action="groupaccess.do?method=edit" method="post">
    <table class="layout">
        <tr>
            <th class="layout">Node:</th>
            <td class="layout"><beans:write name="nodePathName"/></td>
        </tr>
        <tr>
            <th class="layout">Group:</th>
            <td class="layout">
                <html:select property="groupId">
                    <html:options collection="groupPairs" property="integer" labelProperty="string"/>
                </html:select>
            </td>
        </tr>
        <tr>
            <th class="layout">Role:</th>
            <td class="layout">
                <html:select property="roleId">
                    <html:options collection="rolePairs" property="integer" labelProperty="string"/>
                </html:select>
            </td>
        </tr>
    </table>
    <div class="buttons">
        <html:submit property="btnSubmit" value="OK"/>
        <html:cancel property="btnSubmit" value="Cancel"/>
    </div>
</html:form>
